package net.huashitong.common.entity;

import com.sirdc.modules.core.entity.StringEntity;

import javax.persistence.*;

@Entity
@Table(name = "t_common_briefing")
public class SysBriefing extends StringEntity {
    private String type; //事项类型
    private String title;  //标题
    private String summary; //摘要
    private String content; //主要内容
    private String annex; //附件
    private String annexName; //附件名称
    private String status; // 0或空值 为d待上架状态   1 上架状态  2 下架
    @Column(length = 2)
    private String dateAttr;   //日期   2019年10月28日
    private String period;   // 版期  第二期
    private String docType;  // 1 周文档
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    @Column(columnDefinition="TEXT")
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAnnex() {
        return annex;
    }

    public void setAnnex(String annex) {
        this.annex = annex;
    }

    public String getDateAttr() {
        return dateAttr;
    }

    public void setDateAttr(String dateAttr) {
        this.dateAttr = dateAttr;
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period;
    }

    public String getAnnexName() {
        return annexName;
    }

    public void setAnnexName(String annexName) {
        this.annexName = annexName;
    }

    public String getDocType() {
        return docType;
    }

    public void setDocType(String docType) {
        this.docType = docType;
    }
}
